<html>
<head>
    <meta charset="UTF-8">
	<title>生成批量下载链接</title>
	<link href="../assets/css/bootstrap.min.css" rel="stylesheet" />
	<link href="style.css" rel="stylesheet" />
</head>
<body ng-app="app">
<div class="container" ng-controller="BulkLinkController">
	<h2>批量生成链接</h2>
	<form>
		<p class="bg-danger border-radius" ng-if="errorMessage">{{ errorMessage }}</p>
	  <div class="form-group">
	    <label for="">地址 (例如: http://www.ss.com/(*).jpg)</label>
	    <input type="text" class="form-control" ng-model="url" placeholder="必须带有(*)">
	  </div>
	  <div class="form-group">
		  <div class="row">
			  	<div class="col-md-4">
			  		<label for="">从：</label>
			  		<input type="number" min="0" class="form-control" ng-model="start_num">
			  	</div>
			    <div class="col-md-4">
			        <label for="">至：</label>
			    	<input type="number" min="0" class="form-control" ng-model="end_num">
			    </div>
			    <div class="col-md-4">
			        <label for="">通配符长度：</label>
			    	<input type="number" min="1" class="form-control" ng-model="place">
			    </div>
		  </div>
	  </div>
	  <div class="form-group">
	  	<button class="btn btn-primary" ng-click="getResult()">生成</button>
	  </div>
	  <textarea class="form-control" rows="3">{{ result }}</textarea>
	</form>
</div>
<script src="../assets/angular.js"></script>
<script src="app.js"></script>
</body>
</html>